-
Notifications
You must be signed in to change notification settings - Fork 0
feat: #23 display album cover images #87
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation looks good: the shared cover component, responsive image sources, lazy loading, explicit dimensions, fallback behavior and attribution are all covered. CI also passes, including the PostgreSQL integration tests.
Before approval, could you run the Lighthouse image checks and add the result to the PR? Issue #23 lists this as an acceptance criterion. The bundle budget is documented, but I couldn’t find Lighthouse results. Once that is recorded, this looks ready to approve.
|
Thanks for the feedback! I've now run Lighthouse on both Discover and Album Detail, on desktop and mobile. The tests helped identify layout shifts on the album detail page, which I've addressed. CLS is now 0 on both desktop and mobile, and the JavaScript bundle is still within budget. I've documented the results and remaining image optimization opportunities in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Lighthouse results are now documented for Discover and Album Detail on both desktop and mobile. The report also explains the layout-shift fix and notes the remaining image optimization opportunities outside the project’s control. CI, including the PostgreSQL integration tests, passes, and I found no remaining issues. Approved.
Summary
Adds album cover artwork to Discover, My Crate and album detail pages using Cover Art Archive and the existing MusicBrainz release-group IDs.
Changes
AlbumCovercomponent with responsive image sizes and a vinyl placeholder fallback.Testing
TEST_DATABASE_URLwas not set. These should run in CI.Closes #23